﻿<!DOCTYPE html>
<html>
<head>
    <base href="/">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <meta name="format-detection" content="telephone=no">
    <meta name="MobileOptimized" content="640" />
    <title>$!art.Title</title>
    <style>
        * {
            padding:0px;
            margin:0px
        }
        table{ border-collapse:collapse; }
        td{ border:#ccc solid 1px; padding:5px; }
    </style>
    <!-- Custom Theme JavaScript -->
    <script src="/Content/js/ad.js"></script>
    <!-- jQuery -->
    <script src="/Content/js/jquery.min.js"></script>
    <!-- compiled JavaScript -->
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
</head>
<body>
    <iframe style="width:100%;border:0px;height:100%"  frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes" src="$!art.url" id="weblxw" name="weblxw" ></iframe>

    <script>
        var heightMain = -1;
        var heightBody = -1;
        var timer = null;

        function changeHeight() {
            if (heightMain != -1 && heightBody != -1) {
                $("#weblxw").height(Math.max(heightMain, heightBody));
            }
            var sUserAgent = navigator.userAgent.toLowerCase();
            var bIsAndroid = sUserAgent.match(/android/i) == "android";
            if (bIsAndroid) {
                if ("$!art.url".indexOf("eqxiu") != -1)
                    $("#weblxw").height(heightMain);
                else
                    $("#weblxw").height(4000);
            }

            var arr = "eqxiu.com|yunto.cc|chuye|maka.im|liveapp|xiumi|dodoca.com|rabbitpre.com|pin-qu.com|epub360.com|vxplo.cn".split('|');

            for (var s in arr) {
                if ("$!art.url".toLowerCase().indexOf(s) != -1)
                    $("#weblxw").height(heightMain);
            }

        }

        $(document).ready(function () {
            heightMain = $(window).height();
            $("#weblxw").load(function () {
                heightBody = $(this).height();
                changeHeight();
            });
        });


    </script>

#parse("/default/more.htm")
#parse("/default/ad.htm")
#parse("/default/fx.htm")
</body>
    
</html>
